A command-line tool to search for CVEs (Common Vulnerabilities and Exposures) using public APIs. Results are displayed with color formatting and details using the rich library.
- Search CVEs by ID (using cve.circl.lu)
- Search CVEs by keyword in description (using NVD)
- Prints formatted CVE details (ID, published/modified date, CVSS score, severity, description, references)
- Interactive menu or command-line arguments
- Python 3.7+
- requests
- rich
git clone https://github.com/DebaA17/CVE-scanner-cli.git
cd CVE-scanner-cli
bash setup.shThe setup script offers two install methods:
- Docker (recommended): pulls the prebuilt GHCR image and adds a
cveclialias to your default shell. - Local machine: creates the virtual environment, installs dependencies, and links
cvecliinto~/.local/bin.
You can also choose the install method directly:
bash setup.sh --dockerbash setup.sh --localIf your current terminal was already open before setup, reload it with:
source ~/.bashrcIf you use zsh, run:
source ~/.zshrcTo remove the global cvecli command, Docker alias, and any PATH entry added by setup, run:
bash uninstall.shThis removes the ~/.local/bin/cvecli launcher, removes the Docker alias from your shell startup files, and cleans the PATH line if it was added for the local install. It does not delete the repository folder or myenv.
If you want to test the Docker image locally instead of using the prebuilt GHCR image, build it once with:
docker build -t cvecli .Then run it with:
docker run --rm -it cvecliOr pass arguments directly:
docker run --rm cvecli --id CVE-2025-55184
docker run --rm cvecli --keyword wordpresscvecliYou will be prompted to enter either a CVE ID or a keyword. Just follow the on-screen instructions to search for CVEs by ID or by keyword in the description.
cvecli --id CVE-2025-55184cvecli --keyword wordpressResults are shown in the terminal with color formatting for better readability.
- CVE ID search uses the cve.circl.lu API.
- Keyword search uses the NVD API and returns up to 5 results per search.
This tool is provided for educational and informational purposes only. The owner and contributors are not responsible for any misuse, damage, or legal issues resulting from the use of this software. Use at your own risk.
Created by DEBASIS

