The capsh program in libcap before 2.22 does not change the current working directory…
Priority LOW 21CWE-264Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
Summary
The capsh program in libcap before 2.22 does not change the current working directory when the --chroot option is specified, which allows local users to bypass the chroot restrictions via unspecified vectors.
Why it matters now
EPSS 0.00382 32nd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 22
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libcap:libcap:*:*:*:*:*:*:*:* | up to 2.21 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.00:*:*:*:*:*:*:* | 2.00 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.01:*:*:*:*:*:*:* | 2.01 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.02:*:*:*:*:*:*:* | 2.02 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.03:*:*:*:*:*:*:* | 2.03 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.04:*:*:*:*:*:*:* | 2.04 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.05:*:*:*:*:*:*:* | 2.05 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.06:*:*:*:*:*:*:* | 2.06 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.07:*:*:*:*:*:*:* | 2.07 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.08:*:*:*:*:*:*:* | 2.08 | Vulnerable | Libcap |
- cpe:2.3:a:libcap:libcap:*:*:*:*:*:*:*:* Versions up to 2.21 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.00:*:*:*:*:*:*:* Versions 2.00 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.01:*:*:*:*:*:*:* Versions 2.01 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.02:*:*:*:*:*:*:* Versions 2.02 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.03:*:*:*:*:*:*:* Versions 2.03 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.04:*:*:*:*:*:*:* Versions 2.04 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.05:*:*:*:*:*:*:* Versions 2.05 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.06:*:*:*:*:*:*:* Versions 2.06 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.07:*:*:*:*:*:*:* Versions 2.07 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.08:*:*:*:*:*:*:* Versions 2.08 Vulnerable ·Libcap
Show 12 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libcap:libcap:2.09:*:*:*:*:*:*:* | 2.09 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.10:*:*:*:*:*:*:* | 2.10 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.11:*:*:*:*:*:*:* | 2.11 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.12:*:*:*:*:*:*:* | 2.12 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.13:*:*:*:*:*:*:* | 2.13 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.14:*:*:*:*:*:*:* | 2.14 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.15:*:*:*:*:*:*:* | 2.15 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.16:*:*:*:*:*:*:* | 2.16 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.17:*:*:*:*:*:*:* | 2.17 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.18:*:*:*:*:*:*:* | 2.18 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.19:*:*:*:*:*:*:* | 2.19 | Vulnerable | Libcap |
| cpe:2.3:a:libcap:libcap:2.20:*:*:*:*:*:*:* | 2.20 | Vulnerable | Libcap |
- cpe:2.3:a:libcap:libcap:2.09:*:*:*:*:*:*:* Versions 2.09 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.10:*:*:*:*:*:*:* Versions 2.10 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.11:*:*:*:*:*:*:* Versions 2.11 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.12:*:*:*:*:*:*:* Versions 2.12 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.13:*:*:*:*:*:*:* Versions 2.13 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.14:*:*:*:*:*:*:* Versions 2.14 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.15:*:*:*:*:*:*:* Versions 2.15 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.16:*:*:*:*:*:*:* Versions 2.16 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.17:*:*:*:*:*:*:* Versions 2.17 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.18:*:*:*:*:*:*:* Versions 2.18 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.19:*:*:*:*:*:*:* Versions 2.19 Vulnerable ·Libcap
- cpe:2.3:a:libcap:libcap:2.20:*:*:*:*:*:*:* Versions 2.20 Vulnerable ·Libcap
Remediation
Red Hat 1 advisory
- RHSA-2011:1694 Released 2011-12-05 · Red Hat rating Lowlibcap security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) libcap-2.16-5.5.el6
- Red Hat Enterprise Linux Desktop Optional (v. 6) libcap-2.16-5.5.el6, libcap-devel-2.16-5.5.el6
- Red Hat Enterprise Linux HPC Node (v. 6) libcap-2.16-5.5.el6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libcap-2.16-5.5.el6, libcap-devel-2.16-5.5.el6
- Red Hat Enterprise Linux Server (v. 6) libcap-2.16-5.5.el6, libcap-2.16-5.5.el6.ppc, libcap-devel-2.16-5.5.el6 +1
- Red Hat Enterprise Linux Workstation (v. 6) libcap-2.16-5.5.el6, libcap-devel-2.16-5.5.el6
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2011:1694 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2011:1694 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2011:1694 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2011:1694 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2011:1694 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2011:1694 |
Timeline
- 2026-10-02 Threatist record created from CVE-2011-4099
- 2026-10-03 Alias added: GHSA-5467-hwqm-9669
References
Sources
- CVE-2011-4099 · CVE Program
- CVE-2011-4099 · NVD
- FIRST EPSS
- GHSA-5467-hwqm-9669 · GitHub Advisory Database · CC BY 4.0
- CVE-2011-4099 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences