CVE-2026-31996: OpenClaw < 2026.2.19 - safeBins stdin-only bypass via sort output and recursive grep flags

Published Mar 19, 2026
·
Updated

OpenClaw versions prior to 2026.2.19 tools.exec.safeBins contains an input validation bypass vulnerability that allows attackers to execute unintended filesystem operations through sort output flags or recursive grep flags. Attackers with command execution access can leverage sort -o flag for arbitrary file writes or grep -R flag for recursive file reads, circumventing intended stdin-only restrictions.

Affected Software

2 affected components
OpenClaw OpenClaw<2026.2.19
OpenClaw Openclaw Node.js<2026.2.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenClaw to a version that resolves this vulnerability.

    Fixed in 2026.2.19

Event History

Mar 19, 2026
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31996?

CVE-2026-31996 has been classified with a moderate severity level due to its potential to allow unintended filesystem operations.

2

How do I fix CVE-2026-31996?

To fix CVE-2026-31996, upgrade OpenClaw to version 2026.2.19 or later, which addresses the input validation bypass vulnerability.

3

What software is affected by CVE-2026-31996?

The vulnerability CVE-2026-31996 affects OpenClaw versions prior to 2026.2.19.

4

What type of vulnerability is CVE-2026-31996?

CVE-2026-31996 is an input validation bypass vulnerability affecting the tools.exec.safeBins of OpenClaw.

5

Can CVE-2026-31996 lead to remote code execution?

While CVE-2026-31996 may allow unintended file operations, it does not guarantee remote code execution but poses a risk to filesystem integrity.

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