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

Published Nov 30, 2026
·
Updated

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 validAphiaID 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 Software

1 affected component
cpan/Net-WoRMS<1.901

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Net::WoRMS to a version that resolves this vulnerability.

    Fixed in 1.901

Event History

Nov 30, 2026
CVE Published
via MITRE·09:18 PM
Data Sourced
via MITRE·09:18 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who can exploit this in a typical deployment?

An attacker must control the WoRMS SOAP response. Because the default endpoint uses plain HTTP, anyone able to interfere with traffic on the network path to that endpoint can do so.

2

When does the vulnerability lead to SQL execution?

The issue becomes exploitable when printRecord generates SQL output from a malicious SOAP response and the resulting script is loaded into a database. The attacker can inject through string fields and through AphiaID or valid_AphiaID, which are emitted without quotes or numeric validation.

3

Is the default configuration exposed?

The default endpoint uses unencrypted HTTP, so its responses can be modified by an on-path attacker. Exposure still depends on using the SQL output format and loading the generated SQL into a database.

4

What should be done if this component is in use?

Upgrade Net::WoRMS to version 1.901 or later. Until then, avoid loading SQL generated from SOAP responses that could have been obtained over the default plain-HTTP endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203