Skip to content
Heist/ feed
Back to feed
Medium

xrdp — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-33145

xrdp is an open source RDP server. Versions through 0.10.5 allow an authenticated remote user to execute arbitrary commands on the server due to unsafe handling of the AlternateShell parameter in xrdp-sesman. When the AllowAlternateShell setting is enabled (which is the default when not explicitly configured), xrdp accepts a client-supplied AlternateShell value and executes it via /bin/sh -c during session initialization. This results in shell-interpreted execution of unsanitized, user-controlled input. This behavior effectively provides a scriptable remote command execution primitive over RDP within the security context of the authenticated user, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments. This issue has been fixed in version 0.10.6.

Products
xrdp
Affected versions
0.10.1-3, 0.10.1-3.1, 0.10.1-3.1+deb13u1build0.25.10.1, 0.10.1-4, 0.10.1-4.1, 0.10.1-4.1ubuntu0.1, 0.10.6.1-2ubuntu1, 0.6.0-1, 0.6.0-1ubuntu0.1, 0.6.0-1ubuntu0.1+esm1, 0.6.0-1ubuntu0.1+esm2, 0.6.0-1ubuntu0.1+esm3, 0.6.1-2, 0.6.1-2ubuntu0.1, 0.6.1-2ubuntu0.3, 0.6.1-2ubuntu0.3+esm1, 0.6.1-2ubuntu0.3+esm2, 0.6.1-2ubuntu0.3+esm3, 0.9.1-9, 0.9.12-1, 0.9.12-1ubuntu0.1, 0.9.12-1ubuntu0.1+esm1, 0.9.12-1ubuntu0.1+esm2, 0.9.15-1ubuntu1, 0.9.17-1, 0.9.17-2, 0.9.17-2ubuntu1, 0.9.17-2ubuntu2, 0.9.17-2ubuntu2+esm1, 0.9.17-2ubuntu3, 0.9.17-2ubuntu3+esm1, 0.9.17-2ubuntu3+esm2, 0.9.17-2ubuntu3.1, 0.9.21.1-1, 0.9.24-2, 0.9.24-3, 0.9.24-3build1, 0.9.24-3build2, 0.9.24-4, 0.9.24-4ubuntu0.1, 0.9.24-4ubuntu0.1~esm1, 0.9.4-1, 0.9.4-2, 0.9.4-3, 0.9.4-4, 0.9.4-5, 0.9.5-1, 0.9.5-1build1, 0.9.5-2, 0.9.5-2ubuntu0.1~esm1, 0.9.5-2ubuntu0.1~esm2, 0.9.5-2ubuntu0.1~esm3, 0.9.9-1
Fixed versions
Not specified
CVEs
CVE-2026-33145
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:07 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-33145

core-osv · Original source

Published 17 Apr 2026, 21:16 UTC

xrdp is an open source RDP server. Versions through 0.10.5 allow an authenticated remote user to execute arbitrary commands on the server due to unsafe handling of the AlternateShell parameter in xrdp-sesman. When the AllowAlternateShell setting is enabled (which is the default when not explicitly configured), xrdp accepts a client-supplied AlternateShell value and executes it via /bin/sh -c during session initialization. This results in shell-interpreted execution of unsanitized, user-controlled input. This behavior effectively provides a scriptable remote command execution primitive over RDP within the security context of the authenticated user, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments. This issue has been fixed in version 0.10.6.

osv:UBUNTU-CVE-2026-33145

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

xrdp

Fixed versions: Not specified

Complete source record
{
  "id": "3a79a80f1220960e552197fdd2ff5f188a580298de17e1eb35de1177d76ab63e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-33145",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-33145",
    "summary": "xrdp is an open source RDP server. Versions through 0.10.5 allow an authenticated remote user to execute arbitrary commands on the server due to unsafe handling of the AlternateShell parameter in xrdp-sesman. When the AllowAlternateShell setting is enabled (which is the default when not explicitly configured), xrdp accepts a client-supplied AlternateShell value and executes it via /bin/sh -c during session initialization. This results in shell-interpreted execution of unsanitized, user-controlled input. This behavior effectively provides a scriptable remote command execution primitive over RDP within the security context of the authenticated user, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments. This issue has been fixed in version 0.10.6.",
    "evidence": "osv:UBUNTU-CVE-2026-33145",
    "products": [
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1ubuntu0.1+esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1ubuntu0.1+esm2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0-1ubuntu0.1+esm3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2ubuntu0.3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2ubuntu0.3+esm1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2ubuntu0.3+esm2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2ubuntu0.3+esm3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.1-9",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.4-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.4-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.4-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.4-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.4-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-2ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-2ubuntu0.1~esm2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.5-2ubuntu0.1~esm3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.9-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.12-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.12-1ubuntu0.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.12-1ubuntu0.1+esm1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.12-1ubuntu0.1+esm2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.15-1ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu2+esm1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu3+esm1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu3+esm2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.9.17-2ubuntu3.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.21.1-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-3build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-3build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-4ubuntu0.1~esm1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.9.24-4ubuntu0.1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.1-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.10.1-3.1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.10.1-3.1+deb13u1build0.25.10.1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.1-4.1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.10.6.1-2ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "xrdp",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.10.1-3.1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "0.10.1-4",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "0.10.1-4.1",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "0.10.1-4.1ubuntu0.1",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-33145",
      "aliases": [
        "UBUNTU-CVE-2026-33145"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "0.6.0-1",
            "0.6.0-1ubuntu0.1",
            "0.6.0-1ubuntu0.1+esm1",
            "0.6.0-1ubuntu0.1+esm2",
            "0.6.0-1ubuntu0.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.6.0-1ubuntu0.1+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "0.6.1-2",
            "0.6.1-2ubuntu0.1",
            "0.6.1-2ubuntu0.3",
            "0.6.1-2ubuntu0.3+esm1",
            "0.6.1-2ubuntu0.3+esm2",
            "0.6.1-2ubuntu0.3+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.6.1-2ubuntu0.3+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "0.9.1-9",
            "0.9.4-1",
            "0.9.4-2",
            "0.9.4-3",
            "0.9.4-4",
            "0.9.4-5",
            "0.9.5-1",
            "0.9.5-1build1",
            "0.9.5-2",
            "0.9.5-2ubuntu0.1~esm1",
            "0.9.5-2ubuntu0.1~esm2",
            "0.9.5-2ubuntu0.1~esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xorgxrdp",
                "binary_version": "0.9.5-2ubuntu0.1~esm3"
              },
              {
                "binary_name": "xrdp",
                "binary_version": "0.9.5-2ubuntu0.1~esm3"
              },
              {
                "binary_name": "xrdp-pulseaudio-installer",
                "binary_version": "0.9.5-2ubuntu0.1~esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "0.9.9-1",
            "0.9.12-1",
            "0.9.12-1ubuntu0.1",
            "0.9.12-1ubuntu0.1+esm1",
            "0.9.12-1ubuntu0.1+esm2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.9.12-1ubuntu0.1+esm2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.9.15-1ubuntu1",
            "0.9.17-1",
            "0.9.17-2",
            "0.9.17-2ubuntu1",
            "0.9.17-2ubuntu2",
            "0.9.17-2ubuntu2+esm1",
            "0.9.17-2ubuntu3",
            "0.9.17-2ubuntu3+esm1",
            "0.9.17-2ubuntu3+esm2",
            "0.9.17-2ubuntu3.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.9.17-2ubuntu3.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.9.21.1-1",
            "0.9.24-2",
            "0.9.24-3",
            "0.9.24-3build1",
            "0.9.24-3build2",
            "0.9.24-4",
            "0.9.24-4ubuntu0.1~esm1",
            "0.9.24-4ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.9.24-4ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.10.1-3",
            "0.10.1-3.1",
            "0.10.1-3.1+deb13u1build0.25.10.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.10.1-3.1+deb13u1build0.25.10.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.10.1-4.1",
            "0.10.6.1-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.10.6.1-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "xrdp",
            "purl": "pkg:deb/ubuntu/xrdp?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.10.1-3.1",
            "0.10.1-4",
            "0.10.1-4.1",
            "0.10.1-4.1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33145.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "xrdp",
                "binary_version": "0.10.1-4.1ubuntu0.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:10.100626382Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-33145"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-33145",
        "https://www.cve.org/CVERecord?id=CVE-2026-33145",
        "https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-33145",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358260,
  "published_at": "2026-04-17T21:16:00+00:00"
}