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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-15 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2022-41917 · JSON: https://cvemate.com/vulnerability/CVE-2022-41917/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.758%, percentile 56.594%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon opensearch: ≥ 1.0.0, \< 1.3.7 \| ≥ 2.0.0, \< 2.4.0
- opensearch-project opensearch: \< 1.3.7 \| ≥ 2.0.0, \< 2.4.0

## References

- <https://github.com/opensearch-project/OpenSearch/security/advisories/GHSA-w3rx-m34v-wrqx>
- <https://github.com/opensearch-project/OpenSearch/commit/6d20423f5920745463b1abc5f1daf6a786c41aa0>

---

Data as of 2026-12-05T06:33:05.171Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
