CVE-2019-25016
There is an unsafe incomplete reset of PATH in OpenDoas 6.6 through 6.8 when changing the user...
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
- Record
CVE-2019-25016- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-459, CWE-909
- Updated
- 2026-11-02
CVE List No score
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
- Record
CVE-2019-25016- Updated
- 2026-11-02
EUVDEUVD-2019-11469 No score
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
- Record
EUVD-2019-11469- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-59xc-99wg-3hgf
8.8
There is an unsafe incomplete reset of PATH in OpenDoas 6.6 through 6.8 when changing the user...
There is an unsafe incomplete reset of PATH in OpenDoas 6.6 through 6.8 when changing the user context.
- Record
GHSA-59xc-99wg-3hgf- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-459, CWE-732
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-25016
8.8
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
- Record
ALPINE-CVE-2019-25016- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
8.8
In OpenDoas from 6.6 to 6.8 the users PATH variable was incorrectly inherited by authenticated executions if the authenticating rule allowed the user to execute any command. Rules that only allowed to authenticated user to execute specific commands were not affected by this issue.
- Record
CVE-2019-25016- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
doasAlpine:v3.10 |
before 6.6.1-r0 | 6.6.1-r0 |
doasAlpine:v3.11 |
before 6.6.1-r1 | 6.6.1-r1 |
doasAlpine:v3.12 |
before 6.6.1-r2 | 6.6.1-r2 |
doasAlpine:v3.13 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.14 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.15 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.16 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.17 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.18 |
before 6.8-r1 | 6.8-r1 |
doasAlpine:v3.19 |
before 6.8-r1 | 6.8-r1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| affected | OSV | |
| 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-2019-25016 is a high vulnerability (CVSS 8.8) in Opendoas Project Opendoas, published January 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.82%, the 86th percentile. Fixed in doas 6.6.1-r0.
References
github.com/Duncaen/OpenDoas/commit/01c658f8c45cb92a343be5f32aa6da70b2032168
github.com/Duncaen/OpenDoas/issues/45
github.com/Duncaen/OpenDoas/releases/tag/v6.8.1
github.com/Duncaen/OpenDoas/commit/d5acd52e2a15c36a8e06f9103d35622933aa422d
security.gentoo.org/glsa/202107-11
nvd.nist.gov/vuln/detail/CVE-2019-25016
github.com/advisories/GHSA-59xc-99wg-3hgf
security.alpinelinux.org/vuln/CVE-2019-25016