CVE-2023-41887
Remote Code exec in project import with mysql jdbc url attack
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.8
Remote Code exec in project import with mysql jdbc url attack
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
CVE-2023-41887- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
EUVDEUVD-2023-2552
9.8
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
EUVD-2023-2552- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p3r5-x3hr-gpg5
9.8
OpenRefine Remote Code execution in project import with mysql jdbc url attack
Summary
An remote Code exec vulnerability allows any unauthenticated user to exec code on the server.
Details
Hi,Team,
i find openrefine support to import data from database,When use mysql jdbc to connect to database,It is vulnerable to jdbc url attacks,for example,unauthenticated attacker can get rce on the server through the mysql userializable If the mysql-connector-java version used on the server side is less than 8.20.
In order for the server to enable deserialization we need to set the autoDeserialize and queryInterceptors parameters in the connection string,As same with https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-qqh2-wvmv-h72m, since the concatenation string is a direct concatenation, it is possible to inject the required parameters after the other parameters.
And there is a commons-beanutils dependency library on the server side, which contains an RCE-capable deserialization exploit chain
PoC
env:
centos 7
openrefine 3.7.4
jdk11
mysql-connector-java version 8.14.0
you can use the tool https://github.com/4ra1n/mysql-fake-server to running a malicious mysql server.
for example use the CB 1.9 Gadget to exec command touch /tmp/hacked.
set the user to base64ZGVzZXJfQ0JfdG91Y2ggL3RtcC9oYWNrZWQ=(touch /tmp/hacked base64 encode),dataBaseName to test?autoDeserialize=true&queryInterceptors=com.mysql.cj.jdbc.interceptors.ServerStatusDiffInterceptor#.
command touch /tmp/hacked is executed.
Impact
An remote Code exec vulnerability allows any unauthenticated user to exec code on the server.
- Record
GHSA-p3r5-x3hr-gpg5- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
NVD
9.8
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
CVE-2023-41887- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSV
9.8
Remote Code exec in project import with mysql jdbc url attack
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
CVE-2023-41887- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-41887
9.8
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
DEBIAN-CVE-2023-41887- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-p3r5-x3hr-gpg5
9.8
OpenRefine Remote Code execution in project import with mysql jdbc url attack
Summary
An remote Code exec vulnerability allows any unauthenticated user to exec code on the server.
Details
Hi,Team,
i find openrefine support to import data from database,When use mysql jdbc to connect to database,It is vulnerable to jdbc url attacks,for example,unauthenticated attacker can get rce on the server through the mysql userializable If the mysql-connector-java version used on the server side is less than 8.20.
In order for the server to enable deserialization we need to set the autoDeserialize and queryInterceptors parameters in the connection string,As same with https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-qqh2-wvmv-h72m, since the concatenation string is a direct concatenation, it is possible to inject the required parameters after the other parameters.
And there is a commons-beanutils dependency library on the server side, which contains an RCE-capable deserialization exploit chain
PoC
env:
centos 7
openrefine 3.7.4
jdk11
mysql-connector-java version 8.14.0
you can use the tool https://github.com/4ra1n/mysql-fake-server to running a malicious mysql server.
for example use the CB 1.9 Gadget to exec command touch /tmp/hacked.
set the user to base64ZGVzZXJfQ0JfdG91Y2ggL3RtcC9oYWNrZWQ=(touch /tmp/hacked base64 encode),dataBaseName to test?autoDeserialize=true&queryInterceptors=com.mysql.cj.jdbc.interceptors.ServerStatusDiffInterceptor#.
command touch /tmp/hacked is executed.
Impact
An remote Code exec vulnerability allows any unauthenticated user to exec code on the server.
- Record
GHSA-p3r5-x3hr-gpg5- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-41887
9.8
OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.
- Record
UBUNTU-CVE-2023-41887- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-7260-1 No score
openrefine vulnerabilities
It was discovered that OpenRefine did not properly handle opening tar files. If a user or application were tricked into opening a crafted tar file, an attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-37476)
It was discovered that OpenRefine incorrectly handled file permissions and user authentication. An unauthenticated attacker could possibly use this issue to leak sensitive information or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-41886, CVE-2023-41887)
It was discovered that OpenRefine did not properly disallow database settings to be modified when queried. An attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-23833)
It was discovered that OpenRefine did not properly sanitize the GET parameter for authorized commands, leading to a cross site scripting vulnerability. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-47878)
It was discovered that OpenRefine did not properly prevent cross-site request forgery when running the preview-expression command. If a user or application were tricked into opening a specially crafted webpage, an attacker could possibly use this issue to execute arbitrary code. (CVE-2024-47879)
It was discovered that OpenRefine did not properly handle HTTP headers. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-47880)
It was discovered that OpenRefine incorrectly handled database extensions. An attacker could possibly use this issue to execute arbitrary code. (CVE-2024-47881)
It was discovered that OpenRefine did not properly escape HTML tags in exception messages, which could enable code injection. If a user or application were tricked into opening a malicious file, an attacker could use this issue to execute arbitrary code. (CVE-2024-47882)
It was discovered that OpenRefine did not correctly handle paths when executing the load-language command. An attacker could possibly use this issue to leak sensitive information. (CVE-2024-49760)
- Record
USN-7260-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.openrefine:databaseMaven |
through 3.7.4 | 3.7.5 |
openrefineDebian:12 |
before 3.6.2-2+deb12u2, plus listed versions 3.6.2-23.6.2-2+deb12u1 |
3.6.2-2+deb12u2 |
openrefineDebian:13 |
before 3.7.5-1 | 3.7.5-1 |
org.openrefine:databaseMaven |
before 3.7.5, plus listed versions 3.6-beta13.6-beta23.6-rc13.6.03.6.1 Show 5 moreShow less3.6.23.7-beta13.7-beta23.7.03.7.2 |
3.7.5 |
openrefineUbuntu:Pro:22.04:LTS |
before 3.5.2-1ubuntu0.1~esm1, plus listed versions 3.5.2-1 |
3.5.2-1ubuntu0.1~esm1 |
openrefineUbuntu:Pro:24.04:LTS |
before 3.7.7-1ubuntu0.1~esm1, plus listed versions 3.6.2-33.7.6-13.7.7-1 |
3.7.7-1ubuntu0.1~esm1 |
openrefineUbuntu:Pro:22.04:LTS From an advisory covering 10 CVEs |
before 3.5.2-1ubuntu0.1~esm1, plus listed versions 3.5.2-1 |
3.5.2-1ubuntu0.1~esm1 |
openrefineUbuntu:Pro:24.04:LTS From an advisory covering 10 CVEs |
before 3.7.7-1ubuntu0.1~esm1, plus listed versions 3.6.2-33.7.6-13.7.7-1 |
3.7.7-1ubuntu0.1~esm1 |
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-2023-41887 is a critical vulnerability (CVSS 9.8) in Openrefine, published September 12, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 42.5%, the 98th percentile. Fixed in org.openrefine:database 3.7.5.
References
github.com/OpenRefine/OpenRefine/security/advisories/GHSA-p3r5-x3hr-gpg5
github.com/OpenRefine/OpenRefine/commit/693fde606d4b5b78b16391c29d110389eb605511
nvd.nist.gov/vuln/detail/CVE-2023-41887
github.com/advisories/GHSA-p3r5-x3hr-gpg5
github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41887.json
security-tracker.debian.org/tracker/CVE-2023-41887
Show 13 moreShow less
github.com/OpenRefine/OpenRefine
ubuntu.com/security/CVE-2023-41887
cve.org/CVERecord?id=CVE-2023-41887
ubuntu.com/security/notices/USN-7260-1
ubuntu.com/security/CVE-2023-37476
ubuntu.com/security/CVE-2023-41886
ubuntu.com/security/CVE-2024-23833
ubuntu.com/security/CVE-2024-47878
ubuntu.com/security/CVE-2024-47879
ubuntu.com/security/CVE-2024-47880
ubuntu.com/security/CVE-2024-47881
ubuntu.com/security/CVE-2024-47882
ubuntu.com/security/CVE-2024-49760