Description
An OS command injection vulnerability in the app.py component of openlabs docker-wkhtmltopdf-aas up to commit 9f50579 allows attackers to execute arbitrary commands via a crafted POST request.
Published: 2026-06-03
Score: 9.8 Critical
EPSS: 1.5% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An OS command injection flaw (CWE‑78) exists in the app.py module of the openlabs docker‑wkhtmltopdf‑aas container. By sending a crafted POST request, an attacker can cause the service to execute arbitrary shell commands on the host machine, allowing full compromise of confidentiality, integrity, and availability.

Affected Systems

The vulnerability affects any deployment of the openlabs docker‑wkhtmltopdf‑aas image that includes app.py from a commit prior to 9f50579. No other vendors or unrelated products are listed, so the scope is limited to this Docker image and its variants.

Risk and Exploitability

The CVSS score is 9.8, indicating critical severity. The EPSS score of 1% shows a very low but nonzero probability of exploitation, yet the impact is severe enough to warrant urgent remediation. This issue is not listed in the CISA KEV catalog. Attackers only need the ability to reach the exposed HTTP endpoint and can trigger command execution with a single crafted POST request, underscoring the high exploitation risk.

Generated by OpenCVE AI on June 18, 2026 at 07:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Pull and deploy the fixed Docker image available on the openlabs GitHub repository (commit 9f50579 or newer), which removes the injection vector.
  • Place the web service behind a firewall or reverse proxy that allows only trusted IP ranges, effectively limiting unauthenticated external access to the POST endpoint.
  • Implement explicit input validation or sanitization in the application code to reject or escape any payload containing shell delimiters or execution patterns.
  • Apply Linux container security hardening such as AppArmor or SELinux to constrain the wkhtmltopdf process, preventing elevated privileges that could be abused by an injected command.

Generated by OpenCVE AI on June 18, 2026 at 07:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 17 Jun 2026 10:30:00 +0000

Type Values Removed Values Added
Title OS Command Injection in openlabs docker‑wkhtmltopdf‑aas via Crafted POST Request

Tue, 16 Jun 2026 16:00:00 +0000

Type Values Removed Values Added
Title OS Command Injection in openlabs docker‑wkhtmltopdf‑aas via Crafted POST Request

Fri, 05 Jun 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Openlabs
Openlabs docker-wkhtmltopdf-aas
Vendors & Products Openlabs
Openlabs docker-wkhtmltopdf-aas

Wed, 03 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
Title OS Command Injection in Docker‑based wkhtmltopdf‑as Service

Wed, 03 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 03 Jun 2026 17:45:00 +0000

Type Values Removed Values Added
Title OS Command Injection in Docker‑based wkhtmltopdf‑as Service
Weaknesses CWE-78

Wed, 03 Jun 2026 16:00:00 +0000

Type Values Removed Values Added
Description An OS command injection vulnerability in the app.py component of openlabs docker-wkhtmltopdf-aas up to commit 9f50579 allows attackers to execute arbitrary commands via a crafted POST request.
References

Subscriptions

Openlabs Docker-wkhtmltopdf-aas
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-06-03T18:28:36.422Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-36576

cve-icon Vulnrichment

Updated: 2026-06-03T18:26:28.402Z

cve-icon NVD

Status : Deferred

Published: 2026-06-03T16:16:28.877

Modified: 2026-06-04T16:26:20.550

Link: CVE-2026-36576

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T07:30:05Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')