{"cve":"CVE-2023-47128","nvd":{"published":"2023-11-10T18:15:09.870","modified":"2026-06-17T06:32:12.850","status":"Modified","description":"Piccolo is an object-relational mapping and query builder which supports asyncio. Prior to version 1.1.1, the handling of named transaction `savepoints` in all database implementations is vulnerable to SQL Injection via f-strings. While the likelihood of an end developer exposing a `savepoints` `name` parameter to a user is highly unlikely, it would not be unheard of. If a malicious user was able to abuse this functionality they would have essentially direct access to the database and the ability to modify data to the level of permissions associated with the database user. A non exhaustive list of actions possible based on database permissions is: Read all data stored in the database, including usernames and password hashes; insert arbitrary data into the database, including modifying existing records; and gain a shell on the underlying server. Version 1.1.1 fixes this issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-89"],"references":["https://github.com/piccolo-orm/piccolo/commit/82679eb8cd1449cf31d87c9914a072e70168b6eb","https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6","https://github.com/piccolo-orm/piccolo/commit/82679eb8cd1449cf31d87c9914a072e70168b6eb","https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-xq59-7jf3-rjc6"],"products":["piccolo-orm:piccolo"],"source":"nvd","synced_at":"2026-10-19T21:42:07.670898610+00:00"},"epss":{"cve":"CVE-2023-47128","score":0.00782,"percentile":0.56016,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xq59-7jf3-rjc6","url":"https://osv.dev/vulnerability/GHSA-xq59-7jf3-rjc6","summary":"piccolo SQL Injection via named transaction savepoints","modified":"2026-06-09T13:04:23Z","packages":[{"ecosystem":"PyPI","name":"piccolo","purl":"pkg:pypi/piccolo","ranges":["<1.1.1"],"fixed":["1.1.1"]}]},{"id":"PYSEC-2023-241","url":"https://osv.dev/vulnerability/PYSEC-2023-241","summary":"","modified":"2026-06-08T11:15:06.561122917Z","packages":[{"ecosystem":"PyPI","name":"piccolo","purl":"pkg:pypi/piccolo","ranges":["<1.1.1"],"fixed":["1.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}