CVE-2026-42298: Postiz: Arbitrary Code Execution and Token Exfiltration in pr-docker-build.yml via untrusted Dockerfile.dev
Vulnerability summary
CVE-2026-42298 is a critical (CVSS 10.0) Code Injection vulnerability in gitroom postiz. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 56.5% of scored vulnerabilities.
Timeline
- 08-05-2026PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
Postiz is an AI social media scheduling tool. Prior to commit da44801, a "Pwn Request" vulnerability in the Build and Publish PR Docker Image workflow (.github/workflows/pr-docker-build.yml) allows any unauthenticated user to execute arbitrary code during the Docker build process and exfiltrate a highly privileged GITHUB_TOKEN (write-all permissions). This can be achieved simply by opening a Pull Request from a fork with a maliciously modified Dockerfile.dev. This issue has been patched via commit da44801.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.81%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Increase +0.31 pp
From 0.50% on 23-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Gitroom1 product
- postiz< 2.21.7
Gitroomhq1 product
- postiz-app< da448012dd87e94944cbe83a38e7fd023269ec46
2 vendors · 2 products
References
2 links- github.com/gitroomhq/postiz-app/security/advisories/GHSA-v975-9h5p-xhm4X Refsource CONFIRMVendor Advisory
- github.com/gitroomhq/postiz-app/commit/da448012dd87e94944cbe83a38e7fd023269ec46X Refsource MISCURL Repurposed