Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1371+ Articles
150+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-36576: Critical OS Command Injection in docker-wkhtmltopdf-aas
CVE-2026-36576: Critical OS Command Injection in docker-wkhtmltopdf-aas

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-36576

CVE-2026-36576: Critical OS Command Injection in docker-wkhtmltopdf-aas

A CVSS 9.8 OS command injection vulnerability in openlabs docker-wkhtmltopdf-aas allows unauthenticated remote code execution via a crafted POST request to…

Dylan H.

Security Team

June 4, 2026
2 min read

Affected Products

  • openlabs docker-wkhtmltopdf-aas up to commit 9f50579

Overview

A critical OS command injection vulnerability (CVE-2026-36576) has been disclosed in the openlabs/docker-wkhtmltopdf-aas project — a popular Dockerized web service wrapping the wkhtmltopdf HTML-to-PDF conversion utility. The flaw resides in the app.py component and allows an unauthenticated attacker to execute arbitrary OS commands by sending a crafted HTTP POST request to the service.

The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) and affects all commits up to and including 9f50579.

Technical Details

The vulnerability stems from insufficient sanitization of user-controlled input passed to a system command call inside app.py. When the service processes a POST request containing HTML or URL parameters, attacker-controlled content can break out of the expected command context and inject arbitrary shell commands.

Because the wkhtmltopdf service typically runs as a privileged process inside the container, successful exploitation grants the attacker command execution within the container environment. Depending on the deployment configuration — particularly if the Docker socket is mounted or host networking is used — this can escalate to full host compromise.

Attack vector details:

  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality / Integrity / Availability: High / High / High

Affected Versions

All versions of openlabs/docker-wkhtmltopdf-aas up to and including commit 9f50579 are affected. Deployments exposed directly to untrusted networks without authentication middleware are at highest risk.

Proof of Concept

While a full PoC is not published in this advisory, the attack pattern involves injecting shell metacharacters (e.g., $(...), ;, |) into POST parameters processed by app.py. Services without strict input validation or command argument quoting are vulnerable.

Mitigation and Remediation

  1. Update immediately to a version of the project that includes the fix for app.py command construction.
  2. Restrict network access — ensure the wkhtmltopdf-aas service is not exposed to untrusted networks. Place it behind an authenticated proxy or API gateway.
  3. Do not mount the Docker socket inside the container running this service.
  4. Implement network segmentation so the container cannot make outbound connections to attacker-controlled infrastructure.
  5. Audit POST request handling in any custom forks or derivatives of this project.

References

  • NVD Entry: CVE-2026-36576
  • openlabs/docker-wkhtmltopdf-aas
#CVE#Docker#RCE#OS Command Injection#Container Security

Related Articles

CVE-2026-33478: AVideo CloneSite Plugin Unauthenticated RCE

A critical chain of vulnerabilities in WWBN AVideo's CloneSite plugin allows fully unauthenticated attackers to achieve remote code execution via key...

4 min read

CVE-2026-41283: OpenStack Mistral Critical RCE Vulnerability (CVSS 9.9)

A critical unauthenticated remote code execution flaw in OpenStack Mistral through 22.0.0 allows attackers to execute arbitrary commands via exposed API…

3 min read

CVE-2022-0492: Linux Kernel Improper Authentication Vulnerability

A Linux kernel vulnerability in the cgroups v1 release_agent feature allows local attackers to escalate privileges and escape containers. Added to CISA KEV…

3 min read
Back to all Security Alerts