diff --git a/lib/ansiblelint/__main__.py b/lib/ansiblelint/__main__.py
index <HASH>..<HASH> 100755
--- a/lib/ansiblelint/__main__.py
+++ b/lib/ansiblelint/__main__.py
@@ -41,7 +41,7 @@ def load_config(config_file):
     if os.path.exists(config_path):
         with open(config_path, "r") as stream:
             try:
-                return yaml.load(stream)
+                return yaml.safe_load(stream)
             except yaml.YAMLError:
                 pass
Use yaml.safe_load rather than yaml.load