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

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-05-08T22:24:10.249Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gitroomhq postiz-app: < da448012dd87e94944cbe83a38e7fd023269ec46
- gitroom postiz: before 2.21.7

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-v975-9h5p-xhm4> (vendor-advisory)
- <https://github.com/gitroomhq/postiz-app/commit/da448012dd87e94944cbe83a38e7fd023269ec46> (url-repurposed)

## Sources

- CVE List: [CVE-2026-42298](https://www.cve.org/CVERecord?id=CVE-2026-42298), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-42298](https://nvd.nist.gov/vuln/detail/CVE-2026-42298), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42298 · Whole record: https://cve.day/CVE-2026-42298.json · Rebuilt by cve.day 2026-11-25T22:59:21.120Z
