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

Published May 8, 2026
·
Updated

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 GITHUBTOKEN (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.

Affected Software

2 affected components
Postiz Postiz<da44801
Gitroom Postiz<2.21.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Postiz (Build and Publish PR Docker Image workflow: .github/workflows/pr-docker-build.yml) to a version that resolves this vulnerability.

    Patch da44801

Event History

May 8, 2026
CVE Published
via MITRE·10:24 PM
Data Sourced
via MITRE·10:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-42298?

CVE-2026-42298 is classified as a critical vulnerability due to its potential for arbitrary code execution and token exfiltration.

2

How do I fix CVE-2026-42298?

To mitigate CVE-2026-42298, update your Postiz application to version da44801 or later as it addresses this vulnerability.

3

What are the risks associated with CVE-2026-42298?

CVE-2026-42298 exposes users to the risk of arbitrary code execution and unauthorized access to sensitive tokens.

4

Which versions of Postiz are affected by CVE-2026-42298?

Postiz versions prior to da44801 are affected by CVE-2026-42298.

5

What is the context of the CVE-2026-42298 vulnerability?

CVE-2026-42298 arises from untrusted Dockerfile.dev in the pr-docker-build.yml workflow used by Postiz, allowing for exploitation during Docker image building.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203