10.0Critical

CVE-2026-42298Postiz: Arbitrary Code Execution and Token Exfiltration in pr-docker-build.yml via untrusted Dockerfile.dev

gitroomhq postiz-app Published: (6 months ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
gitroom postiz < 2.21.7
gitroomhq postiz-app < da448012dd87e94944cbe83a38e7fd023269ec46

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:gitroom:postiz:*:*:*:*:*:*:*:* < 2.21.7