Gitroomhq postiz-app
Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.22.1
Fixed in 2.22.1
Mitigation
Upgrade postiz-app to 2.22.1 or later.
References
- Patch github.com/gitroomhq/postiz-app/commit/7936062
- Release notes github.com/gitroomhq/postiz-app/releases/tag/v…
- Vendor advisory gadvisory.org/advisories/PSA-2026-TH12B7
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| DarkLycn1976/CVE-2026-19264 | 10 Aug 2026 +2.8 d | 0 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.