arXiv:2609.07614cs.CRSep 2026

Manuscript Offprint

arXiv:2609.07614

Construction and Natural Language Querying of a Cybersecurity Knowledge Graph

Ines Ben Brahim, Mohamed-Amine El Mortaji, Nada Haddad, Sami Rezig, Sofiane Tadimi, Mohamed-Lamine Messai, Kamal Benzekki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

1st Ines BEN BRAHIM 2nd Mohamed Amine EL MORTAJI 3rd Nada HADDAD 4th Sami REZIG 5th Sofiane TADIMI 6th Mohamed-Lamine MESSAI

Université Lumière Lyon 2, Université Claude Bernard Lyon 1, ERIC 69007 Lyon, France

(1)ines.ben-brahim, (2)mohamed-amine.el-mortaji, (3)nada.haddad, (4)sami.rezig, (5)s.tadimi, (6)mohamed-lamine.messai@univ-lyon2.fr

7th Kamal BENZEKKI

INSA Lyon, CITI, Inria 69621 Villeurbanne, France

kamal.benzekki@insa-lyon.fr, kamal.benzekki@inria.fr

Abstract—Cybersecurity vulnerability information is distributed across numerous platforms and databases, making it difficult for researchers and practitioners to obtain a unified and structured understanding of existing threats. This is a critical issue in cybersecurity, where timely access to accurate vulnerability information directly impacts risk assessment and decision-making. While previous work has shown that knowledge graphs are effective for organizing vulnerability data, a major research gap remains in their accessibility, as querying such graphs typically requires expertise in graph query languages like Cypher. This paper aims to address this gap by proposing an approach that combines the construction of a cybersecurity knowledge graph with natural language-based interrogation. The proposed methodology relies on data collected from the National Vulnerability Database (NVD) [9] through its REST API and models vulnerabilities, products, vendors, severity metrics, weaknesses, and references using the Labeled Property Graph paradigm in Neo4j. The knowledge graph is deployed on Neo4j Aura Cloud and queried through an AI-assisted interface that translates natural language queries into Cypher language. The key contribution of this work is demonstrating that natural language querying significantly lowers the barrier to interacting with cybersecurity knowledge graphs, enabling more intuitive exploration and analysis of vulnerability data, and thereby enhancing their practical usefulness for a broader range of users in the cybersecurity field.

Index Terms—Cybersecurity knowledge graph, vulnerability management, natural language querying, Neo4j, NVD.

I. INTRODUCTION

Cybersecurity has become a critical concern as software systems grow in size, complexity, and interconnectivity. Every year, thousands of new security vulnerabilities are disclosed [9], affecting a wide range of software and hardware products. For researchers and security practitioners, understanding these vulnerabilities is essential for risk assessment, threat analysis, and decision-making. However, vulnerability information is often dispersed across multiple platforms, reports, and

databases, making comprehensive analysis time-consuming and error-prone.

Although centralized repositories such as the NVD [9] provide standardized vulnerability data, the volume and complexity of this information remain challenging. Vulnerability records include heterogeneous elements such as textual descriptions, severity metrics, affected products, vendors, and references to external advisories. Traditional tabular or document-based representations struggle to capture the rich relationships that exist between these elements, limiting their analytical value [4], [12].

Cybersecurity Knowledge Graphs (CKG) [13], [1] offer a promising solution by representing cybersecurity data as interconnected entities and relationships, enabling a more explicit and semantically rich view of the vulnerability landscape. By modeling vulnerabilities, products, vendors, and weaknesses as nodes linked through meaningful relationships, knowledge graphs support advanced exploration and reasoning. This expressiveness, however, creates a barrier to adoption. Because querying a knowledge graph typically requires expertise in languages like Cypher, which limits its utility for broader cybersecurity analysis.

Recent advances in AI, particularly large language models, have opened new possibilities for lowering this barrier. Natural language interfaces for graph databases allow users to query complex data structures without explicit knowledge of graph query syntax. Neo4j Aura, a managed cloud platform for graph databases, integrates an AI-assisted search mechanism that translates natural language queries into Cypher language [2], making graph-based analysis more accessible.

The core contribution of this paper is a complete, end-to-end demonstration of a natural language-queryable cybersecurity knowledge graph. We describe the data collection process, graph modeling choices, and cloud deployment, and we evaluate the use of AI-assisted natural language querying for exploring vulnerability information. The results highlight the benefits of combining knowledge graphs with natural language interfaces for exploratory cybersecurity analysis, while also identifying current limitations when addressing complex and multi-hop queries.

The remainder of this paper is structured as follows. Section 2 reviews the related works and section 3 details our methodology for constructing and deploying the knowledge graph. Then, section 4 presents our evaluation results. Next, section 5 discusses the findings and limitations. Finally, section 6 concludes and suggests future research directions.