---
title: "Discussion on \"OpenSearch: Exploiting Side-Channels To Steal Vectors\" | Hashnode"
description: "Discussion on \"OpenSearch: Exploiting Side-Channels To Steal Vectors\". Uncovering unauthorized data access via side-channels in vector search"
url: "https://hashnode.com/posts/opensearch-vector-side-channel/6b074261e6f5218fbe0f563b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [OpenSearch: Exploiting Side-Channels To Steal Vectors](https://kevinhwang.dev/opensearch-vector-side-channel?utm_source=hashnode&utm_medium=feed)

Uncovering unauthorized data access via side-channels in vector search

13h ago · 6 min read · kevinhwang.dev  
Read the article

-   [#opensearch](https://hashnode.com/tag/opensearch)
-   [#security](https://hashnode.com/tag/security)
-   [#side-channel-attacks](https://hashnode.com/tag/side-channel-attacks)
-   [#vulnerability](https://hashnode.com/tag/vulnerability)
-   [#vector-database](https://hashnode.com/tag/vector-database)
-   [#vector-embeddings](https://hashnode.com/tag/vector-embeddings)
-   [#elasticsearch](https://hashnode.com/tag/elasticsearch)

## Written by

[Kevin Hwang](https://hashnode.com/@kevinhwang)

@kevinhwang

  
[View profile](https://hashnode.com/@kevinhwang)

Señor Vibe Coder

## Responses 2

Markdown supported · ⌘↵ to post

[Seedance AI](https://hashnode.com/@seedance-ai)

[3h ago](https://hashnode.com/posts/opensearch-vector-side-channel/6b074261e6f5218fbe0f563b/comment/6b07cec2f141871d190927cb)

Using k-NN distance scoring as an oracle to leak field-level-security protected vectors is a sneaky attack path. Good reminder that vector similarity scores themselves carry information even when raw document fields are masked—glad this was patched in 3.10.

[Olivia](https://hashnode.com/@oliviacreates)

[7h ago](https://hashnode.com/posts/opensearch-vector-side-channel/6b074261e6f5218fbe0f563b/comment/6b079a2f590e2c5f9de7a2ec)

The n+1 probes detail is what makes this land for me — recovering the exact vector from just the scores shows how much information scoring itself leaks, even when the values are hidden. Clear write-up of a subtle flaw.
