Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42298: CWE-94: Improper Control of Generation of Code ('Code Injection') in gitroomhq postiz-app

0
Critical
VulnerabilityCVE-2026-42298cvecve-2026-42298cwe-94
Published: Fri May 08 2026 (05/08/2026, 22:24:10 UTC)
Source: CVE Database V5
Vendor/Project: gitroomhq
Product: 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

AILast updated: 05/08/2026, 23:07:09 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses