<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Gitroom - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/gitroom/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 10 Aug 2026 10:30:47 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/gitroom/feed.xml" rel="self" type="application/rss+xml"/><item><title>Critical Path Traversal in Postiz Exploited for Instance Takeover</title><link>https://feed.craftedsignal.io/briefs/2026-08-postiz-path-traversal/</link><pubDate>Mon, 10 Aug 2026 10:30:47 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-postiz-path-traversal/</guid><description>An unauthenticated path traversal vulnerability (CVE-2026-19264) in Postiz enables remote attackers to read sensitive configuration files, facilitate JWT secret theft, and achieve full instance takeover through forged administrative sessions.</description><content:encoded><![CDATA[<p>CVE-2026-19264 is a critical path traversal vulnerability discovered in Postiz, an open-source social media management tool. The vulnerability originates from improper path sanitization in the application's file upload/retrieval mechanism. Due to a decoding-order mismatch between the Next.js routing layer and the application handler, attackers can use percent-encoded traversal sequences (such as %2e%2e%2f) to bypass route-level security controls. This allows unauthorized access to arbitrary files on the host filesystem.</p>
<p>By reading the server's <code>.env</code> configuration file, an unauthenticated attacker can obtain the <code>JWT_SECRET</code> used for session signing and the <code>DATABASE_URL</code>. Because session tokens in affected versions of Postiz lack expiration claims, the recovered secret allows for the forging of administrative tokens, providing the attacker with permanent and elevated access to the instance. This vulnerability affects Postiz installations using the <code>local</code> storage provider, which is the default configuration.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker probes the application to identify the <code>/uploads/</code> endpoint, which is used for file retrieval.</li>
<li>The attacker crafts an HTTP GET request containing percent-encoded path traversal sequences (e.g., <code>GET /uploads/..%2f..%2f..%2f.env</code>).</li>
<li>The Next.js routing layer fails to filter the encoded sequences because it does not recognize them as directory separators, allowing the request to reach the application handler.</li>
<li>The application handler decodes the percent-encoded sequences into literal <code>../</code> segments, which are then concatenated with the <code>UPLOAD_DIRECTORY</code> path.</li>
<li>The application performs a file read via <code>createReadStream()</code> on the resulting path, successfully resolving to sensitive files outside the intended upload directory.</li>
<li>The attacker reads the contents of the <code>.env</code> file from the returned HTTP response body, extracting the <code>JWT_SECRET</code> and <code>DATABASE_URL</code>.</li>
<li>Using the <code>JWT_SECRET</code>, the attacker signs a forged administrative session token.</li>
<li>The attacker authenticates to the application using the forged token, achieving full instance takeover and administrative control over the platform.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in total system compromise. An attacker gains the ability to read any file readable by the application process, leading to the exfiltration of database credentials, OAuth secrets, and session signing keys. By forging session tokens, the attacker can impersonate any user, including administrators, without requiring prior authentication or user interaction. This vulnerability was verified as exploited in proof-of-concept form with a CVSS 3.1 score of 9.8.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the following actions to secure vulnerable Postiz environments:</p>
<ul>
<li>Immediately upgrade Postiz instances to version 2.22.1 or later to remediate the path traversal vulnerability.</li>
<li>Treat the <code>JWT_SECRET</code> as compromised on all affected versions; rotate this secret immediately to invalidate existing forged sessions.</li>
<li>Rotate <code>DATABASE_URL</code> credentials and any linked OAuth provider keys that were exposed via the environment file.</li>
<li>Implement the following detection logic to monitor for ongoing exploitation attempts targeting the file retrieval path.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>path-traversal</category><category>instance-takeover</category><category>cve-2026-19264</category></item></channel></rss>