Skip to content
Heist/ feed
Unrated

UBUNTU-CVE-2026-55830

Type: advisorySource: OSV1 source record

RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.

Announced Group revision 1
Original source ↗

UBUNTU-CVE-2026-55830

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:UBUNTU-CVE-2026-55830

restrictedpython

Source reference: /affected/0/package/name

Affected versions
3.6.0-0ubuntu4

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

restrictedpython

Source reference: /affected/1/package/name

Affected versions
3.6.0-0ubuntu4

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

restrictedpython

Source reference: /affected/2/package/name

Affected versions
4.0~b3-2

Source reference: /affected/2/versions

4.0~b3-2ubuntu0.1~esm1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

restrictedpython

Source reference: /affected/3/package/name

Affected versions
4.0~b3-2

Source reference: /affected/3/versions

4.0~b3-2ubuntu1

Source reference: /affected/3/versions

4.0~b3-3

Source reference: /affected/3/versions

4.0~b3-3ubuntu0.1~esm1

Source reference: /affected/3/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

restrictedpython

Source reference: /affected/4/package/name

Affected versions
4.0~b3-3

Source reference: /affected/4/versions

6.2-1

Source reference: /affected/4/versions

6.2-1ubuntu0.24.04.1~esm1

Source reference: /affected/4/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

restrictedpython

Source reference: /affected/5/package/name

Affected versions
8.0-1

Source reference: /affected/5/versions

8.1-1

Source reference: /affected/5/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=xenial",
      "ecosystem": "Ubuntu:16.04:LTS"
    },
    "versions": [
      "3.6.0-0ubuntu4"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python-restrictedpython",
          "binary_version": "3.6.0-0ubuntu4"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=bionic",
      "ecosystem": "Ubuntu:18.04:LTS"
    },
    "versions": [
      "3.6.0-0ubuntu4"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python-restrictedpython",
          "binary_version": "3.6.0-0ubuntu4"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Ffocal",
      "ecosystem": "Ubuntu:Pro:20.04:LTS"
    },
    "versions": [
      "4.0~b3-2",
      "4.0~b3-2ubuntu0.1~esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-restrictedpython",
          "binary_version": "4.0~b3-2ubuntu0.1~esm1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Fjammy",
      "ecosystem": "Ubuntu:Pro:22.04:LTS"
    },
    "versions": [
      "4.0~b3-2",
      "4.0~b3-2ubuntu1",
      "4.0~b3-3",
      "4.0~b3-3ubuntu0.1~esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-restrictedpython",
          "binary_version": "4.0~b3-3ubuntu0.1~esm1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Fnoble",
      "ecosystem": "Ubuntu:Pro:24.04:LTS"
    },
    "versions": [
      "4.0~b3-3",
      "6.2-1",
      "6.2-1ubuntu0.24.04.1~esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-restrictedpython",
          "binary_version": "6.2-1ubuntu0.24.04.1~esm1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "restrictedpython",
      "purl": "pkg:deb/ubuntu/restrictedpython?arch=source&distro=resolute",
      "ecosystem": "Ubuntu:26.04:LTS"
    },
    "versions": [
      "8.0-1",
      "8.1-1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "python3-restrictedpython",
          "binary_version": "8.1-1"
        }
      ]
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#5793 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement