PSA-2026-TH12B7CVE-2026-19264GCVE-125-2026-TH12B7August 7, 2026Assigned August 7, 2026Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover
Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover
Affected (1)
- gitroomhqpostiz-app
- ≥ 0Fixed in 2.22.1Affected
All other versions: Unaffected
Mitigations
Configurations
- Exploitation requires the environment variable STORAGE_PROVIDER to be set to 'local', which is the default value shipped in .env.example. On any other storage backend the /uploads route is rewritten to /404 and the vulnerable handler is unreachable.
Overview
Postiz is an open-source social media scheduling tool. The route that serves locally stored media joins URL-supplied path segments onto the upload directory and streams the file without normalising the path or confining it to that directory, and the route requires no authentication. Raw dot-segments are collapsed before routing, but URL-encoded separators survive route matching and are decoded only once they reach the handler, restoring the traversal at the filesystem call. An unauthenticated remote attacker can therefore read any file readable by the application process, including the process environment, which exposes the JWT signing secret, the database connection string, and connected provider and billing secrets. Because session tokens are signed with that secret and carry no expiry, this allows forging a non-expiring session as any user, including an administrator, without a password.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Attack Vector
- Network
- Attack Complexity
- Low
- Attack Requirements
- None
- Privileges Required
- None
- User Interaction
- None
- Vuln Confidentiality
- High
- Vuln Integrity
- High
- Vuln Availability
- High
- Sub Confidentiality
- None
- Sub Integrity
- None
- Sub Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weaknesses (1)
References (2)
Credits (3)
- KRITHIK BABU PReporter · @DarkLycn1976
- Enno GelhausCoordinator · @egelhaus
- Nevo DavidRemediation developer · @nevo-david
Context
Timeline
- 07/20/2026 05:55
Postiz has received the advisory.
- 07/20/2026 07:44
Postiz has acknowledged and verified the advisory.
- 07/20/2026 12:18
Postiz has published a fix for this advisory, and verified that it works.
- 08/07/2026 14:13
Postiz has issued CVE-2026-19264 for this advisory.