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 arises from improper control of code generation (CWE-94) in the GitHub Actions workflow file (.github/workflows/pr-docker-build.yml) used by the postiz-app. Specifically, an attacker can open a pull request from a fork containing a malicious Dockerfile.dev, which is executed during the Docker image build process. This execution allows arbitrary code execution and theft of a GITHUB_TOKEN with extensive privileges. The issue was fixed in commit da44801, which mitigates the risk by correcting the workflow to prevent untrusted code execution.
Potential Impact
An unauthenticated attacker can execute arbitrary code in the context of the Docker build process and steal a GITHUB_TOKEN with write-all permissions. This token compromise can lead to full repository control, including code modification, deletion, and potentially further compromise of CI/CD pipelines or other integrated services. The vulnerability has a critical impact on confidentiality, integrity, and availability of the affected project.
Mitigation Recommendations
This vulnerability has been patched by gitroomhq in commit da44801. Users should update to this commit or later versions to remediate the issue. Since the product is not a cloud service, remediation requires applying the patch to the affected workflow file. There is no indication of known exploits in the wild at this time.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper control of code generation (CWE-94) in the GitHub Actions workflow file (.github/workflows/pr-docker-build.yml) used by the postiz-app. Specifically, an attacker can open a pull request from a fork containing a malicious Dockerfile.dev, which is executed during the Docker image build process. This execution allows arbitrary code execution and theft of a GITHUB_TOKEN with extensive privileges. The issue was fixed in commit da44801, which mitigates the risk by correcting the workflow to prevent untrusted code execution.
Potential Impact
An unauthenticated attacker can execute arbitrary code in the context of the Docker build process and steal a GITHUB_TOKEN with write-all permissions. This token compromise can lead to full repository control, including code modification, deletion, and potentially further compromise of CI/CD pipelines or other integrated services. The vulnerability has a critical impact on confidentiality, integrity, and availability of the affected project.
Mitigation Recommendations
This vulnerability has been patched by gitroomhq in commit da44801. Users should update to this commit or later versions to remediate the issue. Since the product is not a cloud service, remediation requires applying the patch to the affected workflow file. There is no indication of known exploits in the wild at this time.
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: 5/8/2026, 10:51:25 PM
Last enriched: 5/8/2026, 11:07:09 PM
Last updated: 5/9/2026, 3:00:30 AM
Views: 6
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.