CVE-2019-16354
Beego has a file creation race condition
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.7
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
CVE-2019-16354- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 1.9 Low
AV:L/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-362, CWE-732
- Updated
- 2026-11-02
CVE List No score
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
CVE-2019-16354- Updated
- 2026-11-02
EUVDEUVD-2021-1694 No score
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
EUVD-2021-1694- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f6px-w8rh-7r89
4.7
Beego has a file creation race condition
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
GHSA-f6px-w8rh-7r89- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-362, CWE-732
- Updated
- 2026-11-02
OSV
4.7
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
CVE-2019-16354- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVCVE-2019-16355
5.5
The File Session Manager in Beego 1.10.0 allows local users to read session files because of weak permissions for individual files.
- Record
CVE-2019-16355- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-f6px-w8rh-7r89
4.7
Beego has a file creation race condition
The File Session Manager in Beego 1.10.0 allows local users to read session files because there is a race condition involving file creation within a directory with weak permissions.
- Record
GHSA-f6px-w8rh-7r89- CVSS 3.1
- 4.7 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-362, CWE-732
- Updated
- 2026-11-02
OSVGHSA-hf4p-4j9r-3cvx
5.5
Incorrect Default Permissions in Beego
The File Session Manager in Beego before 1.12.2 allows local users to read session files because of weak permissions for individual files.
- Record
GHSA-hf4p-4j9r-3cvx- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-276
- Updated
- 2026-11-02
OSVGO-2021-0084 No score
Incorrect permissions for critical resource in github.com/astaxie/beego
Session data is stored using permissive permissions, allowing local users with filesystem access to read arbitrary data.
- Record
GO-2021-0084- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/beego/beegoGo |
before 1.12.2 | 1.12.2 |
github.com/astaxie/beegoGo |
before 1.12.2 | 1.12.2 |
github.com/beego/beegoGo From an advisory covering 2 CVEs |
before 1.12.2 | 1.12.2 |
github.com/astaxie/beegoGo From an advisory covering 2 CVEs |
before 1.12.2 | 1.12.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-16354 is a medium vulnerability (CVSS 4.7) in Beego, published September 16, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 9th percentile. Fixed in github.com/beego/beego 1.12.2.