diff --git a/sen2chain/config.py b/sen2chain/config.py
index f35eafef87d3f4f52303102942c88a3fefd5a091..4d3471d539c410797456660b5b2b934a22745e6e 100644
--- a/sen2chain/config.py
+++ b/sen2chain/config.py
@@ -87,6 +87,11 @@ class Config:
         else:
             self._create_config()
 
+        # Override the Sen2cor Bashrc path with an environment variable if it exists
+        env_sen2cor_bashrc_paths = os.environ.get("SEN2CHAIN_SEN2COR_BASHRC_PATHS","")
+        if env_sen2cor_bashrc_paths:
+            self._config_params["SEN2COR PATH"]["sen2cor_bashrc_paths"] = env_sen2cor_bashrc_paths
+
         self.config_dict = dict()
 
         for section in self._config_params.sections():