Every CVE Search/ Get API key

CVE-2019-25016

There is an unsafe incomplete reset of PATH in OpenDoas 6.6 through 6.8 when changing the user...

8.8 HighFix available

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

2.82%Up 1.0 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
doas
Alpine:v3.10
before 6.6.1-r0
6.6.1-r0
doas
Alpine:v3.11
before 6.6.1-r1
6.6.1-r1
doas
Alpine:v3.12
before 6.6.1-r2
6.6.1-r2
doas
Alpine:v3.13
before 6.8-r1
6.8-r1
doas
Alpine:v3.14
before 6.8-r1
6.8-r1
doas
Alpine:v3.15
before 6.8-r1
6.8-r1
doas
Alpine:v3.16
before 6.8-r1
6.8-r1
doas
Alpine:v3.17
before 6.8-r1
6.8-r1
doas
Alpine:v3.18
before 6.8-r1
6.8-r1
doas
Alpine:v3.19
before 6.8-r1
6.8-r1
Show 5 moreShow less
Affected packages
PackageAffectedFixed
doas
Alpine:v3.20
before 6.8-r1
6.8-r1
doas
Alpine:v3.21
before 6.8-r1
6.8-r1
doas
Alpine:v3.22
before 6.8-r1
6.8-r1
doas
Alpine:v3.23
before 6.8-r1
6.8-r1
doas
Alpine:v3.24
before 6.8-r1
6.8-r1

History

History
RecordedChangedSources
factsOSV
affectedOSV
aliasesEUVD
first indexedCVE 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

MoveEnter Open