The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ow
The guestfish command in libguestfs 1.20.12, 1.22.7, and earlier, when using the --remote or --listen option, does not properly check the ownership of /tmp/.guestfish-$UID/ when creating a temporary socket file in this directory, which allows local users to write to the socket and execute arbitrary commands by creating /tmp/.guestfish-$UID/ in advance.
- Published
- Nov 5, 2013
- Updated
- Jun 16, 2026
- EPSS
- 0.8% · 53th percentile
- CWE
- CWE-264
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| libguestfs | libguestfs | cpe:2.3:a:libguestfs:libguestfs |
| suse | suse linux enterprise software development kit | cpe:2.3:a:suse:suse_linux_enterprise_software_development_kit |
| novell | suse linux enterprise server | cpe:2.3:o:novell:suse_linux_enterprise_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libguestfs libguestfs1.20.0 and later · up to 1.20.12 inclusive
- libguestfs libguestfs1.22.0 and later · up to 1.22.7 inclusive
- novell suse linux enterprise server11.0
- suse suse linux enterprise software development kit11.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libguestfs | before 1:1.22.7-1 | 1:1.22.7-1 |
| openSUSE:Tumbleweed | libguestfs | before 1.32.4-11.1 | 1.32.4-11.1 |
| Red Hat:enterprise_linux:6::client | libguestfs | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-debuginfo | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-devel | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-java | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-java-devel | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-javadoc | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-tools | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | libguestfs-tools-c | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-libguestfs | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | ocaml-libguestfs-devel | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | perl-Sys-Guestfs | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | python-libguestfs | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
| Red Hat:enterprise_linux:6::client | ruby-libguestfs | before 1:1.20.11-2.el6 | 1:1.20.11-2.el6 |
Same product
libguestfs: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-2211A vulnerability was found in libguestfs.26Monitor
- CVE-2013-2124Double free vulnerability in inspect-fs.c in LibguestFS 1.20.x before 1.20.7, 1.21.x, 1.22.0, and 1.23.0 allows remote attackers to cause a 18Monitor
- CVE-2010-3851libguestfs before 1.5.23, as used in virt-v2v, virt-inspector 1.5.3 and earlier, and possibly other products, when a raw-format disk image i18Monitor
- CVE-2012-2690virt-edit in libguestfs before 1.18.0 does not preserve the permissions from the original file and saves the new file with world-readable pe8Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libguestfs | 1:1.22.7-1 · Debian:12 | Package registry (OSV) |
| opensuse:libguestfs | 1.32.4-11.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libguestfs | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-debuginfo | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-devel | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-java | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-java-devel | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-javadoc | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-tools | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libguestfs-tools-c | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ocaml-libguestfs | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ocaml-libguestfs-devel | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-Sys-Guestfs | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ruby-libguestfs | 1:1.20.11-2.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- High
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-264 · Permissions, Privileges, and Access ControlsCVSS vector
AV:A/AC:H/Au:N/C:C/I:C/A:C
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2013-11/msg00001.html
- rhn.redhat.com/errata/RHSA-2013-1536.html
- secunia.com/advisories/55813
- bugzilla.redhat.com/show_bug.cgi?id=1016960
- www.redhat.com/archives/libguestfs/2013-October/msg00031.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.