PSA-2026-TH12B7CVE-2026-19264GCVE-125-2026-TH12B7August 7, 2026Assigned August 7, 2026
9.3 Critical

Unauthenticated 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 v4
9.3 Critical
9.3
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 v3
9.8 Critical
9.8
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 P
    Reporter · @DarkLycn1976
  • Enno Gelhaus
    Coordinator · @egelhaus
  • Nevo David
    Remediation developer · @nevo-david

Context

Timeline

  1. 07/20/2026 05:55

    Postiz has received the advisory.

  2. 07/20/2026 07:44

    Postiz has acknowledged and verified the advisory.

  3. 07/20/2026 12:18

    Postiz has published a fix for this advisory, and verified that it works.

  4. 08/07/2026 14:13

    Postiz has issued CVE-2026-19264 for this advisory.