# CVE-2022-41917: Incorrect Error Handling Allowed Partial File Reads Over REST API in OpenSearch

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 50% of CVEs (2026-11-30)
- Published: 2022-11-15T00:00:00.000Z
- Modified: 2026-06-17T05:04:03.540Z
- Weaknesses: CWE-200, CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana. OpenSearch allows users to specify a local file when defining text analyzers to process data for text analysis. An issue in the implementation of this feature allows certain specially crafted queries to return a response containing the first line of text from arbitrary files. The list of potentially impacted files is limited to text files with read permissions allowed in the Java Security Manager policy configuration. OpenSearch version 1.3.7 and 2.4.0 contain a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- opensearch-project OpenSearch: < 1.3.7; >= 2.0.0, < 2.4.0
- amazon opensearch: from 1.0.0 before 1.3.7; from 2.0.0 before 2.4.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/opensearch-project/OpenSearch/security/advisories/GHSA-w3rx-m34v-wrqx> (third-party-advisory)
- <https://github.com/opensearch-project/OpenSearch/commit/6d20423f5920745463b1abc5f1daf6a786c41aa0> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-41917](https://www.cve.org/CVERecord?id=CVE-2022-41917), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-41917](https://nvd.nist.gov/vuln/detail/CVE-2022-41917), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41917 · Whole record: https://cve.day/CVE-2022-41917.json · Rebuilt by cve.day 2026-11-25T22:58:16.550Z
