{"id":"CVE-2026-42298","aliases":["CVE-2026-42298"],"related":[],"kind":"vulnerability","state":"published","title":"Postiz: Arbitrary Code Execution and Token Exfiltration in pr-docker-build.yml via untrusted Dockerfile.dev","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Postiz es una herramienta de programación de redes sociales con IA. Antes del commit da44801, una vulnerabilidad 'Pwn Request' en el flujo de trabajo de compilación y publicación de imágenes Docker de PR (.github/workflows/pr-docker-build.yml) permite a cualquier usuario no autenticado ejecutar código arbitrario durante el proceso de compilación de Docker y exfiltrar un GITHUB_TOKEN altamente privilegiado (permisos de escritura total). Esto se puede lograr simplemente abriendo una solicitud de extracción desde un fork con un Dockerfile.dev modificado maliciosamente. Este problema ha sido parcheado mediante el commit da44801.","source":"nvd"}],"published":"2026-05-08T22:24:10.249Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< da448012dd87e94944cbe83a38e7fd023269ec46","status":"affected"}],"vendor":"gitroomhq","product":"postiz-app","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.21.7"}],"vendor":"gitroom","product":"postiz","cpe":"cpe:2.3:a:gitroom:postiz:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-v975-9h5p-xhm4","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gitroomhq/postiz-app/commit/da448012dd87e94944cbe83a38e7fd023269ec46","tags":["url-repurposed","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-05-11T17:58:43.572Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42298","url":"https://www.cve.org/CVERecord?id=CVE-2026-42298","licence":"CVE Terms of Use","modified":"2026-05-11T18:02:03.832Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42298","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42298","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:21.120Z","epss":{"score":0.00504,"percentile":0.4469,"date":"2026-12-01T12:00:22.000Z"}}