A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2020-29396

CVE-2020-29396: Odoo Privilege Escalation Vulnerability

CVE-2020-29396 is a privilege escalation flaw in Odoo Community and Enterprise versions 11.0-13.0 that allows authenticated attackers to execute arbitrary code. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2020-29396 Overview

CVE-2020-29396 is a sandboxing weakness affecting Odoo Community and Odoo Enterprise editions versions 11.0 through 13.0 when running on Python 3.6 or later. The flaw allows remote authenticated users to escape the application's restricted execution environment and run arbitrary code on the server. Successful exploitation results in privilege escalation within the Odoo application stack. The vulnerability is mapped to [CWE-267: Privilege Defined With Unsafe Actions].

Critical Impact

Authenticated attackers can break out of the Odoo sandbox to execute arbitrary Python code, leading to full compromise of the Odoo application context and potential lateral movement.

Affected Products

  • Odoo Community 11.0 through 13.0
  • Odoo Enterprise 11.0 through 13.0
  • Python 3.6 or later runtime environments hosting affected Odoo versions

Discovery Timeline

  • 2020-12-22 - CVE-2020-29396 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-29396

Vulnerability Analysis

Odoo provides a restricted Python evaluation environment used for server actions, computed fields, and automated rules. This sandbox limits which built-ins, attributes, and modules user-supplied expressions can access. CVE-2020-29396 stems from a sandbox restriction that is incomplete when Odoo runs under Python 3.6 or later. Changes to Python internals between supported interpreter versions expose attribute lookup paths the sandbox did not anticipate. Authenticated users with permission to define or trigger evaluated expressions can leverage these paths to reach unsanitized callables and import arbitrary modules.

Root Cause

The root cause is an unsafe action surface within the restricted evaluator [CWE-267]. The sandbox relies on filtering attribute and built-in access, but Python 3.6+ introduces accessible object graph traversals that bypass the filter. Once a user reaches an unrestricted callable, they can execute arbitrary Python in the Odoo worker process.

Attack Vector

Exploitation requires network access to the Odoo instance and a valid authenticated session with sufficient rights to submit evaluated expressions, such as creating server actions, automated actions, or computed field formulas. The attacker submits a crafted expression that traverses Python object internals to reach os, subprocess, or similar modules, then executes commands under the Odoo service account. Refer to the Odoo GitHub Issue #63712 and the Oracle Critical Patch Update July 2022 for vendor context.

No verified public proof-of-concept code is available for this CVE.
See the Odoo issue tracker referenced above for technical details.

Detection Methods for CVE-2020-29396

Indicators of Compromise

  • Unexpected creation or modification of ir.actions.server, base.automation, or computed field definitions by non-administrative users.
  • Odoo worker processes spawning child processes such as /bin/sh, python, or curl outside normal application behavior.
  • Outbound network connections from the Odoo server to attacker-controlled hosts shortly after authenticated logins.

Detection Strategies

  • Audit the Odoo ir.logging and database change logs for newly inserted server actions or automated rules containing suspicious attribute traversals like __class__, __subclasses__, or __globals__.
  • Monitor process trees on Odoo hosts for the Odoo Python worker spawning shells or interpreters, which is abnormal for the application.
  • Inspect HTTP request logs for repeated /web/dataset/call_kw or /longpolling calls that immediately precede privilege changes.

Monitoring Recommendations

  • Forward Odoo application logs, PostgreSQL audit logs, and host process telemetry to a centralized analytics platform for correlation.
  • Establish a baseline of which users legitimately author server actions and alert on deviations.
  • Track EPSS scoring changes for this CVE over time to prioritize remediation against active exploitation trends.

How to Mitigate CVE-2020-29396

Immediate Actions Required

  • Upgrade Odoo Community or Enterprise to a patched release beyond version 13.0, or apply the fixes referenced in Odoo GitHub Issue #63712.
  • Restrict the ability to create or edit server actions, automated actions, and computed fields to a minimal set of trusted administrators.
  • Review existing server actions and automated rules for unexpected Python expressions and remove any unauthorized entries.

Patch Information

Odoo addressed the sandbox bypass in maintenance updates tracked through Odoo GitHub Issue #63712. Oracle customers running affected Odoo-derived components should apply the fixes documented in the Oracle Critical Patch Update July 2022. Verify that the deployed Odoo build incorporates the updated safe_eval restrictions before returning the system to normal operation.

Workarounds

  • Limit Access Rights and Record Rules so that only administrators hold the base.group_system privileges required to author evaluated expressions.
  • Run the Odoo service under a dedicated low-privilege OS account with no write access outside its data directories to contain post-exploitation impact.
  • Place the Odoo instance behind an authenticating reverse proxy and enforce IP allow-listing for administrative endpoints until patches are deployed.
bash
# Configuration example: restrict Odoo service privileges and admin group membership
# 1. Run Odoo under a dedicated user with no shell
sudo useradd --system --no-create-home --shell /usr/sbin/nologin odoo

# 2. Tighten odoo.conf to disable database management and require strong admin password
# /etc/odoo/odoo.conf
list_db = False
admin_passwd = <strong-random-value>
proxy_mode = True

# 3. Audit users in the System Administrator group via psql
psql -U odoo -d <db> -c "SELECT u.login FROM res_users u \
  JOIN res_groups_users_rel r ON r.uid = u.id \
  JOIN res_groups g ON g.id = r.gid \
  WHERE g.name = 'Settings';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechOdoo

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability1.81%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-267

  • NVD-CWE-noinfo
  • Vendor Resources
  • GitHub Issue #63712

  • Oracle Security Alert July 2022
  • Related CVEs
  • CVE-2026-25137: NixOS Odoo Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English