Skip to content

[ticket/17709] Prevent directory traversal in local storage adapter - #7037

Open
rubencm wants to merge 1 commit into
phpbb:masterfrom
rubencm:ticket/17709
Open

rubencm wants to merge 1 commit into
phpbb:masterfrom
rubencm:ticket/17709

Conversation

@rubencm

@rubencm rubencm commented Sep 17, 2026

Copy link
Copy Markdown
Member

Normalize and validate paths in local storage adapter to ensure operations stay strictly within the configured storage root, and create parent directories recursively when writing files.

PHPBB-17709

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-12345

@rubencm
rubencm marked this pull request as draft September 17, 2026 14:01
Validate paths in local storage adapter to ensure operations stay
strictly within the configured storage root and block subdirectories.

PHPBB-17709
@rubencm
rubencm force-pushed the ticket/17709 branch 2 times, most recently from a482343 to 90b0ce3 Compare September 19, 2026 15:15
@rubencm
rubencm marked this pull request as ready for review September 19, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant