Evidence · DiggingBeagle record
MONAI Label PR #1942: session archive confinement
Merged change separately confines session archive extraction and validates session names; includes unsafe entry rejection, cleanup and compatibility considerations for older Python tar handling.
- Published
- Nov 22, 2026
- Source role
- patch commit artifact
Evidence record
Claim-level citations (3)
- supportsMONAI Label session archive extraction lacked path confinement: The maintainers separately corrected session archive extraction and unsafe session identifiers in 0.8.6. The new checks reject archive entries outside the designated directory and disallow special file types.
PR #1942 summary and tests; release notes security section
- supportsMONAI Label session archive extraction lacked path confinement: The merged archive patch handles older Python tar extraction behavior, rejects links and special file entries, and uses the data filter where available. Its rejection path returns an HTTP 400 and removes the uploaded archive. Session name validation is also tightened. Zip handling is not the same changed code path.
Merged PR archive confinement, session ID validation, rejected archive cleanup and tests
- supportsMONAI Label: The merged session archive patch in MONAI Label tightens session identifiers and tar entry confinement, rejects links and special types, and removes rejected uploaded archives.
PR description: archive rejection, cleanup, session identifier validation