Description
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.
Published: 2026-08-07
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a path‑traversal flaw with no authentication required. The route that reads media files concatenates user‑supplied path components directly onto the upload directory and streams the file without normalising the final path. URL‑encoded separators survive until the handler decodes them, allowing an attacker to resolve directory traversal indicators to arbitrary file locations on the filesystem, including configuration and environment files. By reading these files, the attacker obtains the JWT signing secret, database connection string, and other provider and billing secrets. Because session tokens are signed with that secret and lack an expiry claim, the attacker can forge tokens that grant arbitrary user privileges, including administrative access, effectively taking over the instance.

Affected Systems

The affected product is GitroomHQ’s Postiz‑app, an open‑source social media scheduling tool. Vulnerable releases are those prior to the 2.22.1 release, which contains a fix that normalises file paths and restricts access to the upload directory only. No specific older version numbers are listed, so any deployment with a version older than or equal to 2.22.0 is at risk unless the patch has been manually applied.

Risk and Exploitability

With a CVSS score of 9.3 the vulnerability is considered critical. The exploit requires only the ability to send a crafted HTTP request to the /uploads route over the network, and authentication is not required. As the EPSS score is not available and the issue is not listed in the CISA KEV catalog, there is currently no public evidence of widespread exploitation, but the simplicity of the attack vector and the high impact make it a priority target for attackers. The lack of an expiry on session tokens means that once the secret is exposed, immediate and uncontrolled access to all users, including administrators, is achieved.

Generated by OpenCVE AI on August 7, 2026 at 15:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Postiz v2.22.1 or later, which addresses the path‑traversal handling and properly confines file access.
  • If upgrading is not immediately feasible, apply the commit that patches the path normalization logic (referencing the commit identified in the advisory) or block direct access to the /uploads route via web‑server configuration.
  • Rotate the JWT signing secret, enforce token expiry, and restrict the /uploads endpoint to authenticated users and necessary IP ranges to mitigate any residual exposure.

Generated by OpenCVE AI on August 7, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitroomhq
Gitroomhq postiz-app
Vendors & Products Gitroomhq
Gitroomhq postiz-app

Fri, 07 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Unauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeover
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Gitroomhq Postiz-app
cve-icon MITRE

Status: PUBLISHED

Assigner: postiz

Published:

Updated: 2026-08-24T11:15:08.324Z

Reserved: 2026-08-07T14:09:09.890Z

Link: CVE-2026-19264

cve-icon Vulnrichment

Updated: 2026-08-07T17:54:40.235Z

cve-icon NVD

Status : Received

Published: 2026-08-07T15:17:00.297

Modified: 2026-08-24T12:16:49.950

Link: CVE-2026-19264

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T15:30:04Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')