CVE-2012-0786
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite...
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
Exploit likelihood
What each source reports
NVD Score used
3.3
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
CVE-2012-0786- CVSS 2.0
- 3.3 Low
AV:L/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-59
- Updated
- 2026-11-02
CVE List No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
CVE-2012-0786- Updated
- 2026-11-02
EUVDEUVD-2012-0817 No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
EUVD-2012-0817- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v2f6-mg42-536m No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite...
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
GHSA-v2f6-mg42-536m- Weakness
- CWE-59
- Updated
- 2026-11-02
OSV No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
CVE-2012-0786- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-0786 No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
DEBIAN-CVE-2012-0786- Updated
- 2026-11-02
OSVMGASA-2014-0058 No score
Updated augeas package fixes security vulnerabilities
Multiple flaws were found in the way Augeas handled configuration files when updating them. An application using Augeas to update configuration files in a directory that is writable to by a different user (for example, an application running as root that is updating files in a directory owned by a non-root service user) could have been tricked into overwriting arbitrary files or leaking information via a symbolic link or mount point attack (CVE-2012-0786, CVE-2012-0787).
A flaw was found in the way Augeas handled certain umask settings when creating new configuration files. This flaw could result in configuration files being created as world writable, allowing unprivileged local users to modify their content (CVE-2013-6412).
- Record
MGASA-2014-0058- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10367-1 No score
augeas-1.6.0-1.1 on GA media
These are all security issues fixed in the augeas-1.6.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10367-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-0786 No score
The transform_save function in transform.c in Augeas before 1.0.0 allows local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on a .augnew file.
- Record
UBUNTU-CVE-2012-0786- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
augeasDebian:12 |
before 1.0.0-1 | 1.0.0-1 |
augeasDebian:13 |
before 1.0.0-1 | 1.0.0-1 |
augeasDebian:14 |
before 1.0.0-1 | 1.0.0-1 |
augeasDebian:6.0 From an advisory covering 3 CVEs |
before 0.7.2-1+deb6u1, plus listed versions 0.7.2-1 |
0.7.2-1+deb6u1 |
augeasMageia:3 From an advisory covering 3 CVEs |
before 1.1.0-1.1.mga3 | 1.1.0-1.1.mga3 |
augeasRed Hat:enterprise_linux:6::client From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-debuginfoRed Hat:enterprise_linux:6::client From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-develRed Hat:enterprise_linux:6::client From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-libsRed Hat:enterprise_linux:6::client From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeasRed Hat:enterprise_linux:6::computenode From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
augeas-debuginfoRed Hat:enterprise_linux:6::computenode From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-develRed Hat:enterprise_linux:6::computenode From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-libsRed Hat:enterprise_linux:6::computenode From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeasRed Hat:enterprise_linux:6::hypervisor From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-debuginfoRed Hat:enterprise_linux:6::hypervisor From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeasRed Hat:storage:3:server:el6 From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-debuginfoRed Hat:storage:3:server:el6 From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeasRed Hat:enterprise_linux:6::server From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-debuginfoRed Hat:enterprise_linux:6::server From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-develRed Hat:enterprise_linux:6::server From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-libsRed Hat:enterprise_linux:6::server From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeasRed Hat:enterprise_linux:6::workstation From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-debuginfoRed Hat:enterprise_linux:6::workstation From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-develRed Hat:enterprise_linux:6::workstation From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
augeas-libsRed Hat:enterprise_linux:6::workstation From an advisory covering 2 CVEs |
before 0:1.0.0-5.el6 | 0:1.0.0-5.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-0786 is a low vulnerability (CVSS 3.3) in Augeas, published November 23, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.45%, the 38th percentile. Fixed in augeas 1.0.0-1.
References
github.com/hercules-team/augeas/commit/16387744
secunia.com/advisories/55811
augeas.net/news.html
bugzilla.redhat.com/show_bug.cgi?id=772257
rhn.redhat.com/errata/RHSA-2013-1537.html
nvd.nist.gov/vuln/detail/CVE-2012-0786
Show 18 moreShow less
github.com/advisories/GHSA-v2f6-mg42-536m
security-tracker.debian.org/tracker/CVE-2012-0786
advisories.mageia.org/MGASA-2014-0058.html
bugs.mageia.org/show_bug.cgi?id=11721
rhn.redhat.com/errata/RHSA-2014-0044.html
access.redhat.com/errata/RHSA-2013:1537
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=772261
bugzilla.redhat.com/show_bug.cgi?id=826752
bugzilla.redhat.com/show_bug.cgi?id=855022
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_1537.json
access.redhat.com/security/cve/CVE-2012-0786
cve.org/CVERecord?id=CVE-2012-0786
access.redhat.com/security/cve/CVE-2012-0787
cve.org/CVERecord?id=CVE-2012-0787
nvd.nist.gov/vuln/detail/CVE-2012-0787
ubuntu.com/security/CVE-2012-0786
suse.com/security/cve/CVE-2012-0786