# CVE-2026-137097: Net::WoRMS versions before 1.901 for Perl allow SQL injection via SOAP response fields in the SQL output of printRecord

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **CWE:** CWE-89
- **Published:** 2026-11-30T21:18:02.882Z
- **Modified:** 2026-12-01T01:17:10.507Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker controlling the SOAP response can inject arbitrary SQL into generated INSERT scripts of Net::WoRMS, a Perl tool for querying the World Register of Marine Species.

## Who should check

- Anyone running Net-WoRMS \< 1.901

## Description

Net::WoRMS versions before 1.901 for Perl allow SQL injection via SOAP response fields in the SQL output of printRecord.

Net::WoRMS is a tool for querying the World Register of Marine Species (WoRMS).

The SQL output format writes each record from the WoRMS SOAP service as an INSERT statement. String values escape ' as \\', which standard SQL does not treat as an escape, and backslashes are left as they are. The AphiaID and valid\_AphiaID values are written unquoted with no numeric check. The default endpoint uses plain HTTP.

An attacker who controls the SOAP response, including anyone on the network path to the default endpoint, can run arbitrary SQL when the generated script is loaded into a database.

## Affected and fixed versions

- Net-WoRMS: \< 1.901 (cvelist)

## Mitigation

- Upgrade Net-WoRMS to 1.901 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-137097. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-137097.md
Affected: Net-WoRMS < 1.901
Fixed in: Net-WoRMS 1.901

Steps:
1. Search this machine and project for Net-WoRMS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-137097 being exploited?

There is no confirmed exploitation: CVE-2026-137097 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-137097?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-137097?

Net-WoRMS \< 1.901.

### Is there a fix for CVE-2026-137097?

Yes. Fixed in Net-WoRMS 1.901. Upgrade Net-WoRMS to 1.901 or later.

### How do I check if I'm affected by CVE-2026-137097?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://metacpan.org/release/HUCKFINN/Net-WoRMS-1.901/diff/HUCKFINN/Net-WoRMS-1.9>
- other: <https://metacpan.org/release/HUCKFINN/Net-WoRMS-1.901/source/CHANGELOG>
- other: <http://www.openwall.com/lists/oss-security/2026/11/30/23>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-137097>

HTML: <https://flawdb.com/CVE-2026-137097> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-137097>
