Home / gentoo / soko / CVE-2023-26033
CVE-2023-26033: is it exploited, and which versions of gentoo soko are affected and fixed?
CVE-2023-26033 is a SQL injection vulnerability in gentoo soko. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: soko < 1.0.1 (CVE record by GitHub_M). Fixed in 1.0.1 (NVD). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-26033?
Gentoo soko contains DoS attack based on SQL Injection
Gentoo soko is the code that powers packages.gentoo.org. Versions prior to 1.0.1 are vulnerable to SQL Injection, leading to a Denial of Service. If the user selects (in user preferences) the "Recently Visited Packages" view for the index page, the value of the `search_history` cookie is used as a base64 encoded comma separated list of atoms. These are string loaded directly into the SQL query with `atom = '%s'` format string. As a result, any user can modify the browser's cookie value and inject most SQL queries. A proof of concept malformed cookie was generated that wiped the database or changed it's content. On the database, only public data is stored, so there is no confidentiality issues to site users. If it is known that the database was modified, a full restoration of data is possible by performing a full database wipe and performing full update of all components. This issue is patched with commit id 5ae9ca83b73. Version 1.0.1 contains the patch. If users are unable to upgrade immediately, the following workarounds may be applied: (1.) Use a proxy to always drop the `search_history` cookie until upgraded. The impact on user experience is low. (2.) Sanitize to the value of `search_history` cookie after base64 decoding it.
From the CVE record by GitHub_M, last updated March 10, 2025, 21:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| gentoo | soko | < 1.0.1 |
As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gentoo | soko | before 1.0.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:42 UTC.
How severe is CVE-2023-26033?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-26033 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 10, 2025)
- EPSS
- 0.62% probability of exploitation activity in the next 30 days, percentile 51.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/gentoo/soko/security/advisories/GHSA-gp8g-jfq9-5q2g x_refsource_CONFIRM
- https://gitweb.gentoo.org/sites/soko.git/commit/?id=5ae9ca83b735804f2bd405592983a73d7fcc42f4 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 17, 2023
- Published
- February 24, 2023, 23:29 UTC
- CVE record updated
- March 10, 2025, 21:06 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:42 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect soko?
- Mar 20, 2023CVE-2023-28424 gentoo soko: SQL injection
Questions about CVE-2023-26033
Is CVE-2023-26033 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of gentoo soko are affected by CVE-2023-26033?
soko < 1.0.1, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-26033?
1.0.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-26033?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-26033?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.