CVE-2026-42298: CWE-94: Improper Control of Generation of Code ('Code Injection') in gitroomhq postiz-app
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.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-42298) in gitroomhq's postiz-app is an improper control of code generation (CWE-94) in the Build and Publish PR Docker Image workflow. Specifically, before commit da44801, an unauthenticated attacker could submit a Pull Request from a fork containing a malicious Dockerfile.dev, enabling arbitrary code execution during the Docker build process. This exploit allows theft of a GITHUB_TOKEN with write-all permissions, posing a severe risk to repository integrity and confidentiality. The issue has been fixed in commit da44801.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code in the Docker build environment and exfiltrate a GITHUB_TOKEN with full write permissions. This compromises repository security, enabling unauthorized code changes, data theft, and potential further attacks on the CI/CD pipeline or associated infrastructure. The CVSS 3.1 score of 10.0 reflects the critical nature and complete impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability has been patched in commit da44801. Users should update postiz-app to versions including this commit or later to remediate the issue. Since this is not a cloud service, manual patching is required. There is no vendor advisory content contradicting this; therefore, applying the official fix is the recommended mitigation.
CVE-2026-42298: CWE-94: Improper Control of Generation of Code ('Code Injection') in gitroomhq postiz-app
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 v3.1
Score 10.0critical
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-42298) in gitroomhq's postiz-app is an improper control of code generation (CWE-94) in the Build and Publish PR Docker Image workflow. Specifically, before commit da44801, an unauthenticated attacker could submit a Pull Request from a fork containing a malicious Dockerfile.dev, enabling arbitrary code execution during the Docker build process. This exploit allows theft of a GITHUB_TOKEN with write-all permissions, posing a severe risk to repository integrity and confidentiality. The issue has been fixed in commit da44801.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary code in the Docker build environment and exfiltrate a GITHUB_TOKEN with full write permissions. This compromises repository security, enabling unauthorized code changes, data theft, and potential further attacks on the CI/CD pipeline or associated infrastructure. The CVSS 3.1 score of 10.0 reflects the critical nature and complete impact on confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability has been patched in commit da44801. Users should update postiz-app to versions including this commit or later to remediate the issue. Since this is not a cloud service, manual patching is required. There is no vendor advisory content contradicting this; therefore, applying the official fix is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T12:13:55.552Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe68edcbff5d861039d86d
Added to database: 05/08/2026, 22:51:25 UTC
Last enriched: 05/16/2026, 10:51:05 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 138
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.