Skip to content
Disclosed report Intermediate

#**CSV Injection in shared passwords leads to complete Private Vault Exfiltration**

A shared vault could contain a password field with a spreadsheet formula, and when the victim exported their vault to CSV and opened it in a spreadsheet app, the formula could execute and exfiltrate all exported vault contents. The vendor decided not to fix it because CSV is a data interchange format and escaping would break import compatibility.

stomper4 Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 25 days

Summary by the program

On March 18, 2025 we received a submission to our Bug Bounty program via HackerOne about an attack scenario that can lead to exfiltrating all exported vault contents. In order to exploit this scenario an attacker must have all the following in place:

1 - Share a vault with the target user on the target account, 2- Save a malicious payload with a specific spreadsheet formula, 3- Convince, or wait for, the target user to export their vault contents to CSV, and 4 - Convince, or wait for, the target user to open the exported CSV into a spreadsheet app.

This attack-scenario is possible due to a vulnerability known as “CSV Injection” when using the 1Password Export Account feature. In order to prevent potential data loss and ensure feature usability, we have determined we will not address the issue. Instead, we set the following guidelines for determining when it makes sense for us to protect against CSV Injections:

“When a spreadsheet is used for data interchange (e.g.; vault or item data exports which can be imported) then we will not escape the characters which runs the risk of causing data integrity issues. In cases where an export is specifically for the purposes of being viewed in a spreadsheet program (e.g.; usage and member list exports) we’ll consider it an issue."

CSV is a data format, one we have implemented in accordance with RFC 4180. It is spreadsheet software choosing to open these CSV and execute formulas that is not acting with the RFC in mind. In fact, the CSV format RFC itself, when discussing security considerations, states: "CSV files contain passive text data that should not pose any risks."

We must also keep in mind the intent of the 1Password Export account feature. The feature is specifically in place to allow users to correctly export their passwords for import into other password managers that are not 1Password. Therefore it would not be considered acceptable by users for us to interfere with their ability to import their passwords into other password managers, or potentially corrupting their data in the process.

Lastly, we're actively participating with several other password managers on a more secure credential exchange format in collaboration with the FIDO Alliance. Please read more about that effort in our blog.

The original report as published on HackerOne, by stomper4. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the export feature did not escape formula-triggering characters in CSV fields, so spreadsheet software interpreted attacker-controlled password values as formulas.

Impact

An attacker could exfiltrate all exported vault contents, but only if the victim exports the vault to CSV and opens it in a spreadsheet application.

What the attacker needed

Attacker can share a vault with the victim; victim exports vault to CSV; victim opens CSV in a spreadsheet app

The fix

The vendor declined to address the issue, citing CSV RFC compliance and import compatibility; its guidelines would consider escaping only exports meant for spreadsheet viewing.

How it was found

  1. Share a vault with the target user on the target account.
  2. Save a malicious payload with a specific spreadsheet formula.
  3. Convince, or wait for, the target user to export their vault contents to CSV.
  4. Convince, or wait for, the target user to open the exported CSV into a spreadsheet app.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

CSV is a plain text file used to store table data, like a simple spreadsheet. Some spreadsheet programs treat text starting with certain characters as a formula and run it when the file is opened. Here, an attacker could put such a formula into a shared password, and if the victim exported and opened the file, the formula could run and send the vault data to the attacker.

More from 1Password - Enterprise Password Manager

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.