CVE-2026-19264 PUBLISHED

Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover

Assigner: postiz
Reserved: 07.08.2026 Published: 07.08.2026 Updated: 07.08.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor gitroomhq
Product postiz-app
Versions Default: unaffected
  • affected from 0 to 2.22.1 (excl.)

Affected 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.

Credits

  • KRITHIK BABU P reporter
  • Enno Gelhaus coordinator
  • Nevo David remediation developer

References

Problem Types

  • CWE-22 CWE