CVE-2026-35535: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-g5fc-f834-rcr2
CVSS 7.4
CWE-271 CWE-272
Published
Advisory Summary

CVE-2026-35535 is a HIGH (CVSS 7.4) security vulnerability vulnerability (CWE-271: Privilege Dropping / Lowering Errors) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not drop privileges before passing control of a resource to an actor that does not have those privileges.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-35535 at a Glance

CVE Identifier CVE-2026-35535
GHSA Identifier GHSA-g5fc-f834-rcr2
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-271: Privilege Dropping / Lowering Errors
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-35535

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-35535, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-271: Privilege Dropping / Lowering Errors, where the product does not drop privileges before passing control of a resource to an actor that does not have those privileges. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.

References

NVD — CVE-2026-35535 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-35535
Security Fix Commit FIX COMMIT
https://github.com/sudo-project/sudo/commit/3e474c2f201484be83d994ae10a4e20e8c81bb69
access.redhat.com/errata/rhsa-2026:10... WEB
https://access.redhat.com/errata/RHSA-2026:10758
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21690
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21695
access.redhat.com/errata/rhsa-2026:23... WEB
https://access.redhat.com/errata/RHSA-2026:23233
access.redhat.com/errata/rhsa-2026:28... WEB
https://access.redhat.com/errata/RHSA-2026:28887
access.redhat.com/errata/rhsa-2026:30... WEB
https://access.redhat.com/errata/RHSA-2026:30088
access.redhat.com/errata/rhsa-2026:34... WEB
https://access.redhat.com/errata/RHSA-2026:34098
access.redhat.com/errata/rhsa-2026:58... WEB
https://access.redhat.com/errata/RHSA-2026:58981
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2026-35535
bugs.debian.org/1130593 WEB
https://bugs.debian.org/1130593
bugs.launchpad.net/ubuntu/+source/sudo... WEB
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2143042
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2454714
cert-portal.siemens.com/productcert/html/ss... WEB
https://cert-portal.siemens.com/productcert/html/ssa-253495.html
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2026/06/msg00003.html
Software Security Information SECURITY
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35535.json
www.qualys.com/2026/03/10/crack-ar... WEB
https://www.qualys.com/2026/03/10/crack-armor.txt
access.redhat.com/errata/rhsa-2026:11... WEB
https://access.redhat.com/errata/RHSA-2026:11521
access.redhat.com/errata/rhsa-2026:12... WEB
https://access.redhat.com/errata/RHSA-2026:12310
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13731
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13888
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13889
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13891
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13892
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13895
access.redhat.com/errata/rhsa-2026:13... WEB
https://access.redhat.com/errata/RHSA-2026:13896
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14228
access.redhat.com/errata/rhsa-2026:14... WEB
https://access.redhat.com/errata/RHSA-2026:14437
access.redhat.com/errata/rhsa-2026:19... WEB
https://access.redhat.com/errata/RHSA-2026:19067
access.redhat.com/errata/rhsa-2026:19... WEB
https://access.redhat.com/errata/RHSA-2026:19220
access.redhat.com/errata/rhsa-2026:20... WEB
https://access.redhat.com/errata/RHSA-2026:20040
access.redhat.com/errata/rhsa-2026:20... WEB
https://access.redhat.com/errata/RHSA-2026:20087
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21275
access.redhat.com/errata/rhsa-2026:21... WEB
https://access.redhat.com/errata/RHSA-2026:21656

Frequently Asked Questions

What is CVE-2026-35535?
CVE-2026-35535 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-271: Privilege Dropping / Lowering Errors.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-35535?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2026-35535?
CVE-2026-35535 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-35535?
CVE-2026-35535 is classified under CWE-271: Privilege Dropping / Lowering Errors (The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.).
How can I check Maven dependencies for CVE-2026-35535?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g5fc-f834-rcr2",
  "modified" : "2026-08-25T15:32:06Z",
  "published" : "2026-04-03T03:31:02Z",
  "aliases" : [ "CVE-2026-35535" ],
  "details" : "In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-35535"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sudo-project/sudo/commit/3e474c2f201484be83d994ae10a4e20e8c81bb69"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:10758"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21690"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21695"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:23233"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:28887"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:30088"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:34098"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:58981"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-35535"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.debian.org/1130593"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2143042"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2454714"
  }, {
    "type" : "WEB",
    "url" : "https://cert-portal.siemens.com/productcert/html/ssa-253495.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2026/06/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35535.json"
  }, {
    "type" : "WEB",
    "url" : "https://www.qualys.com/2026/03/10/crack-armor.txt"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:11521"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:12310"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13731"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13888"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13889"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13891"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13892"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13895"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:13896"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14228"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:14437"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19067"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:19220"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:20040"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:20087"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21275"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2026:21656"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-271", "CWE-272" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-04-03T03:16:18Z"
  }
}